import { createApp } from 'vue'
import { createPinia } from 'pinia'
// 导入持久化的插件
import persist from 'pinia-plugin-persistedstate'

import App from './App.vue'
// 创建pinia实例
const pinia = createPinia()

createApp(App).use(pinia).use(pinia.use(persist)).mount('#app')
